﻿using DanceIntegration.Models.db;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DanceIntegration.Models
{
    public class RoleViewModel
    {
        public string RoleName { get; set; }

        public RoleViewModel() { }
        public RoleViewModel(IdentityRole role)
        {
            this.RoleName = role.Name;
        }
    }


    public class EditRoleViewModel
    {
        public string OriginalRoleName { get; set; }
        public string RoleName { get; set; }

        public EditRoleViewModel() { }
        public EditRoleViewModel(IdentityRole role)
        {
            this.OriginalRoleName = role.Name;
            this.RoleName = role.Name;
        }
    }
}
